<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;
use app\middleware\AuthMiddleware;

Route::group("customer", function () {
    Route::post("createCustomer", 'Customer/createCustomer');
    Route::post("editCustomer", 'Customer/editCustomer');
    Route::post("customerList", 'Customer/customerList');
    Route::post("customerInfo", 'Customer/customerInfo');
})->middleware(AuthMiddleware::class);
Route::group("auth", function () {
    Route::post("test", 'auth/test');
});

Route::group("notice", function () {
    Route::post("creditCardRepaymentNotice", 'Notice/creditCardRepaymentNotice');
    Route::post("creditCardPayNotice", 'Notice/creditCardPayNotice');
    Route::post("repaymentNotice", 'Notice/repaymentNotice');
    Route::post("birthdayNotice", 'Notice/birthdayNotice');
    Route::post("expireNotice", 'Notice/expireNotice');
})->middleware(AuthMiddleware::class);
